package com.moonkin.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Tag(name = "测试接口", description = "测试接口描述")
@RequestMapping("/test")
@RestController
public class TestController {

    @Operation(summary = "创建用户",description = "根据姓名创建用户")
    @GetMapping("/hello")
    public String hello() {
        return "hello world";
    }
}
